#!/usr/bin/env node

const http = require('http');
const fs = require('fs');
const url = 'http://localhost:8080/'

const req = http.request(url,{
    method: 'POST',
}, res=>{
    res.pipe(process.stdout);
});

fs.createReadStream('./client-file/book.png')
    .pipe(req);

